FROM python:3.10-slim
# 设置工作目录
WORKDIR /mrzh

# 复制项目文件到容器中
COPY . /mrzh/


#配置安装依赖
RUN python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple

RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

#暴露8000端口
EXPOSE 8000

